// let name = require('./login.js')

// import name from './login.js'
// console.log('index.js内容');
// console.log(name);


// let obj = require('./login.js')

// console.log('index.js内容');
// console.log(obj.default, '======', obj.age);

// import name from './login.js'
// console.log('index.js内容');
// console.log(name);

// import name, { age } from './login.js'
// console.log('index.js内容');
// console.log(name, '====', age);


let oBtn = document.getElementById('btn')

oBtn.addEventListener('click', function () {
    import('./login.js').then((login) => {
        console.log(login)
    })
})

console.log('index.js')